//---------------------------------------------------------------------------
#ifndef JoinFH
#define JoinFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Grids.hpp>
#include <winsock.h>
#include <stdio.h>
#include "constants.h"
#include <ExtCtrls.hpp>
#include <Mask.hpp>
//---------------------------------------------------------------------------
class TJoinFrm : public TForm
{
__published:	// IDE-managed Components
        TLabel *Label1;
        TButton *JoinBtn;
        TButton *CancelBtn;
        TTimer *Timer1;
        TMemo *JoinMemo;
        TLabel *Label2;
        TEdit *ServerIP;
        void __fastcall FormActivate(TObject *Sender);
        void __fastcall JoinBtnClick(TObject *Sender);
        void __fastcall Timer1Timer(TObject *Sender);
        void __fastcall CancelBtnClick(TObject *Sender);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
private:	// User declarations
public:		// User declarations
        __fastcall TJoinFrm(TComponent* Owner);
        void TJoinFrm::CloseSocket();
};
//---------------------------------------------------------------------------
extern PACKAGE TJoinFrm *JoinFrm;
//---------------------------------------------------------------------------
#endif
